struct pthread_param{
  void * mem;
  int numThreads;
  int msPerRound;
  int cid;
  int numRounds;
  int pid;
  int buffSize;
  pthread_t tid;

};
struct request{
  int input;
  int buffSize;
  int p;
  long result;
};

struct my_msgbuf {
  long mtype;
  int shmid;
};
